package com.itheima.reggie.service;

import com.itheima.reggie.domain.Address;

import java.util.List;

// 收货地址
public interface AddressService {
    //查询所有地址
    List<Address> list ();
     //新增地址
    void save(Address address);
    //修改默认地址
    void defaultSet(Address address);

     //查找默认地址
    Address findDefault();
      //查询回显
    Address selectById(Long id);
     //修改地址信息
    void update(Address address);
}
